<template>
  <div class="app-container">
    数据查询
  </div>
</template>

<script name="DataQuery">
import { getCurrentInstance, onMounted, reactive, toRefs } from 'vue';
import AreaTable from '@/views/module/area/table.vue';
import ModelConfig from '@/views/module/model/config.vue';

export default {
  components: {
    AreaTable,
    ModelConfig,
  },
  setup() {
    const { proxy } = getCurrentInstance();
    const query = proxy.$route.query;

    const vueData = reactive({
      areaList: [],
      modelLoading: false,
      modelList: [],
      checkList: [],
      pagenation: {
        pageNum: 1,
        pageSize: 10,
      },
      modelParams: {
        searchValue: '',
        areaCode: '',
        auditFlag: 4,
      },
      total: 0,
    });

    onMounted(() => {
      console.log(query);
    });

    return {
      ...toRefs(vueData),
    }
  },
}
</script>

<style scoped>
div.el-dialog__body {
  padding: 5px 5px;
}
</style>